package com.yetm.config;


import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyBatisConfig {
    //@Bean
    //public SqlSessionFactory sqlSessionFactory() throws Exception {
    //    SqlSessionFactoryBean factoryBean = new SqlSessionFactoryBean();
    //    factoryBean.setDataSource(dataSource());
    //    return factoryBean.getObject();
    //}
}
